package cn.edu.zzuli.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("订单展示信息")
@Data
@TableName("offer_order")
public class OfferOrderDto {

    @ApiModelProperty("订单编号")
    @TableField("id")
    private Integer id;

    @ApiModelProperty("订单类型")
    private String type;

    @ApiModelProperty("赏金")
    private Double bounty;

    @ApiModelProperty("订单标题")
    private String title;

    @ApiModelProperty("发布时间")
    private String postTime;

    @ApiModelProperty("订单状态")
    private Integer status;
}
